package com.isdepci.project.reference.mapper;

import java.util.List;
import com.isdepci.project.reference.domain.ReferenceData;
import org.apache.ibatis.annotations.Param;
/**
 * 字典数据Mapper接口
 * 
 * @author isdepci
 * @date 2023-08-22
 */
public interface ReferenceDataMapper 
{
    /**
     * 查询字典数据
     */
     ReferenceData selectReferenceDataById(Long id);

    /**
     * 查询字典数据列表
     */
     List<ReferenceData> selectReferenceDataList(ReferenceData referenceData);

    /**
     * 新增字典数据
     */
     int insertReferenceData(ReferenceData referenceData);

    /**
     * 修改字典数据
     */
     int updateReferenceData(ReferenceData referenceData);

    /**
     * 删除字典数据
     */
     int deleteReferenceDataById(Long id);

    /**
     * 批量删除字典数据
     */
     int deleteReferenceDataByIds(Long[] ids);


    void insertList(@Param("list") List<ReferenceData> list,@Param("pId")Long pId);



}
